<template>
  <div>
    <h2>TsButton</h2>
    <button @click="emit('close')">close</button>
    <button @click="emit('open')">open</button>
  </div>
</template>
<script setup>
const emit = defineEmits(['close', 'open']);
</script>